/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.trandio.dao;

import java.sql.SQLException;
import java.util.List;
import javax.naming.NamingException;
import org.trandio.model.ProgramapypVO;



/**
 *
 * @author root
 */
public interface ProgramapypInterface {    
     // public List<GrupoactVO> consultarGrupoact(String codigo,String descripcion, int firstRow, int rowsPerPage, String sortField, boolean sortAscending) throws SQLException, NamingException;
     // public int count() throws SQLException, NamingException;
      public ProgramapypVO getProgramapyp(int id) throws SQLException, NamingException;
      public int guardarProgramapyp(ProgramapypVO programapypVO) throws SQLException, NamingException;
      public void guardarProgramapypEdit(ProgramapypVO programapypVO) throws SQLException, NamingException;
      public List<ProgramapypVO> consultarProgramapyp(String codigo, String descripcion) throws SQLException, NamingException;
      public List<ProgramapypVO> consultarProgramapypEdadSexo(String edad, int idsexo) throws SQLException, NamingException;

      public List<ProgramapypVO> consultarProgramapyp() throws SQLException, NamingException;

      public int getCantProgramapyp(String $sWhere) throws SQLException, NamingException;

      public List<ProgramapypVO> getProgramapyp(int displayStart, int displayLength, String $sWhere, String orden) throws SQLException, NamingException;
}